from fastapi import APIRouter

# 定义API前缀
HELLO_PREFIX = "/hello"

# 创建路由器，添加前缀
hello_router = APIRouter(prefix=HELLO_PREFIX)

@hello_router.get("/root2")
async def hello_root2():
    return {"message": "he"} 